package formation;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2023-04-10
 * Time: 17:09
 */
//抽象建者 处理建造的流程
public abstract class HouseBuilder {
    protected House house = new House();

    //将建造的流程写好 抽象的方法
    public abstract void buildBasic();
    public abstract void buildWalls();
    public abstract void roofed();

    //建造房子好之后 将产品返回
    public House buildHouse(){
        return house;
    }

}
